﻿@{
    Layout = null;
}

<!DOCTYPE html>
<html>
<head>
    <title>Error</title>
</head>
<body>
    <h2>
        Sorry, an error occurred while processing your request.
    </h2>
    <div>
        <span>
            @{
                HandleErrorInfo info = (HandleErrorInfo) ViewData.Model;
                var message = string.Format("Error occured in {0} for {1}! Message: {2}", info.ControllerName, info.ActionName, info.Exception.Message);
            }
            @message
        </span>
    </div>
</body>
</html>